package site.jlopen.service.intf.project;

import java.util.List;

import site.jlopen.domain.job.KusciaJobResult;
import site.jlopen.domain.job.event.KusciaJobResultEvent;
import site.jlopen.entity.job.TaskResultDataVo;

public interface JobResultService {

	public List<KusciaJobResultEvent> getResultList(Long userId, Long projectId, Long flowId, String type);

	public List<TaskResultDataVo> getResultVos(Long userId, Long projectId, Long flowId, String type);

	public KusciaJobResultEvent getResultById(Long resultId);

	public KusciaJobResultEvent getResultByGraph(String graphId);

	public boolean saveResult(KusciaJobResult result);
}
